Refactor gtk_widget_set_device_enabled_internal
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 Sep 2015 14:12:16 +0000 (10:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 27 Sep 2015 04:35:11 +0000 (00:35 -0400)
commit1cac30b6f3e020c4d8fd1843d631ccf0558943cc
tree95a2da2e0c7f0ead00ddf2c7e6489c90161e71ad
parentce8616f44ca5d3479810a275c182dbc584a7bf94
Refactor gtk_widget_set_device_enabled_internal

Instead of constructing a single list of all windows associated
to a widget, just iterate the children lists recursively, avoiding
allocations.
gtk/gtkwidget.c